package org.yjc.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
import org.yjc.entity.Student;
@Repository
public interface StudentRepository extends JpaRepository<Student, Integer>,JpaSpecificationExecutor<Student>{

	public Student findByUserNameAndPassWord(String userName, String passWord);

	public List<Student> findByTbClassId(Integer tbclassid);

}
